//
//  KATTableBuilder.h
//  KATFramework
//
//  Created by Kantice on 15/9/9.
//  Copyright (c) 2015年 KatApp. All rights reserved.
//  KATTableView的配置生成器，便于设置


#import <Foundation/Foundation.h>

#import "KATTableView.h"
#import "KATColor.h"


//样式
#define TABLE_STYLE_NONE 0
#define TABLE_STYLE_BASIC 100
#define TABLE_STYLE_MESSAGE 200
#define TABLE_STYLE_MESSAGE_RICH 250
#define TABLE_STYLE_NEWS 300
#define TABLE_STYLE_SHOP 400
#define TABLE_STYLE_IMAGE 500
#define TABLE_STYLE_DATA 600
#define TABLE_STYLE_QUESTION 700
#define TABLE_STYLE_CONTACT 800
#define TABLE_STYLE_OTHER 900


#define TABLE_STYLE_COLOR_NOTE 960



@interface KATTableBuilder : NSObject


#pragma -mark 属性

///屏幕尺寸
@property(nonatomic,assign) CGSize screenSize;

///列表控件
@property(nonatomic,assign) KATTableView *table;

///是否能删除
@property(nonatomic,assign) BOOL deleteEnabled;


#pragma -mark 类方法

///获取实例
+ (instancetype)builderWithTable:(KATTableView *)table andStyle:(int)style andCellHeight:(float)cellHeight;


#pragma -mark 对象方法

///设置删除样式(使用背部图层会有冲突)
- (void)setDeleteModeWithButtonType:(KATButtonType)type;


///释放内存
- (void)dealloc;


@end
